<!DOCTYPE html>
<html lang="zh">
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/header :: header(~{::title},~{::link},~{})">
    <title>新增周计划弹窗</title>
    <link rel="icon" th:href="@{/assets/img/lcxm.ico}" type="image/ico">
    <link rel="stylesheet" th:href="@{/assets/css/common.css}">
    <link rel="stylesheet" th:href="@{/assets/css/daterangepicker.css}">
    <style>
        .daterangepicker{
            z-index: 9999;
        }
    </style>
</head>
<body class="body ">
<!--导航-->
<!--<div class="container">-->
<!--前往新增周计划页面之前选择人员和日期-->
<div class="row">
    <div style="margin-top: 20px;"></div>
    <div class="row internalBody">

        <form class="form-horizontal validate weekDiv" role="form" method="post" th:action="@{/plan/toAdd}">
            <div class="form-group" style="margin-left: 5px">
                <label for="projectId" class="col-md-2 col-sm-2 control-label">周数*</label>
                <div class="col-sm-9  col-md-9  ">
                    <div class="input-group ">
                        <input type="text" class="form-control" id="startWeekDate1" name="weekStart" readonly>
                        <span class="input-group-addon">至</span>
                        <input type="text" class="form-control" id="endWeekDate1" name="weekEnd" readonly>
                        <input type="text" id="weekPicker1" class="form-control" style="display: none;"/>
                        <span class="input-group-btn">
                                <button class="btn btn-default" type="button" id="weekRangePicker1"><i
                                        class="glyphicon glyphicon-calendar"></i></button>
                             </span>
                    </div>
                </div>
            </div>

            <div class="form-group" style="margin-left: 5px">
                <label for="userId" class="col-md-2 col-sm-2 control-label">用户*</label>
                <div class="col-sm-9  col-md-9  ">
                    <select class="form-control " id="userId" name="userId" data-value="" value=""
                            data-rule-required="true">
                        <option th:each="item:${userList}" th:value="${item.id}"
                                th:text="${item.text}"></option>
                    </select>
                </div>
            </div>
            <div class="form-group" style="margin-left: 5px">
                <label for="userId" class="col-md-2 col-sm-2 control-label">带入上周</label>
                <div class="col-sm-9  col-md-9  ">
                    <div class="checkbox">
                        <label>
                            <input type="checkbox" name="bringIn" checked="checked"><small class="text-info">是否带入上周未完成工作计划(如果存在的话)</small>
                        </label>
                    </div>
                </div>
            </div>
            <hr/>
        </form>
    </div>
</div>

<!-- 引入通用js-->
<div th:replace="common/footer :: connomjs"></div>
<script th:src="@{/js/moment.min.js}"></script>
<script th:src="@{/js/daterangepicker.min.js}"></script>
<script th:src="@{/js/plan/plan.js}"></script>
<script>
$(function(){
});

</script>

</body>
</html>